Skip to content

Conversation

YuxingW
Copy link

@YuxingW YuxingW commented Oct 12, 2017

Use case 1: If background loggers are created in several places, they are not sharing the message queue for one thread, so it cannot aggregate all logs for one thread. This can be solved by using Singleton instance of background logger.
Use case 2: The 1st thread of BackgroundMessage output is unexpectedly printed in console and not compatible with MainThread output, actually we can use Message in loggerhelper.py directly.

    if background loggers are created in several places, they are not sharing the message queue for one thread, so it cannot aggregate all logs for one thread. This can be solved by using Singleton instance of background logger.
    The BackgroundMessage output is unexpected and not compatible with MainThread output, actually we can use Message in loggerhelper.py directly.
@pekkaklarck pekkaklarck mentioned this pull request Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant